package com.ruoyi.data.mapper;

import com.ruoyi.data.domain.TdataRtWgc;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TdataRtWgcMapper {

    int deleteByPrimaryKey(String id);

    void insert(TdataRtWgc record);

    void insertSelective(TdataRtWgc record);

    TdataRtWgc selectByRoomId(String roomId);

    int updateByPrimaryKeySelective(TdataRtWgc record);

    int updateByPrimaryKey(TdataRtWgc record);

    List<TdataRtWgc> selectHtWgcList(TdataRtWgc record);

    void clear(@Param("roomIds") List<String> roomIds);

    List<TdataRtWgc> selectTxgzList(TdataRtWgc record);

    void refresh(List<TdataRtWgc> records);

    int updateTimesByRoomId(String roomId);

    void deleteByRoomIds(@Param("roomIds") List<String> roomIds);
}